Articles by Himanshu Arora

Himanshu Arora

About Himanshu Arora

Himanshu Arora has been working on Linux since 2007. He carries professional experience in system level programming, networking protocols, and command line. In addition to HowtoForge, Himanshu's work has also been featured in some of world's other leading publications including Computerworld, IBM DeveloperWorks, and Linux Journal.

  • Linux awk Command

    Linux awk Command

    Author: Tags: , Comments: 0Published: May 24, 2024

    Among the numerous text processing tools available on the Linux shell, awk stands out for its power and versatility. Originally developed in the 1970s by Aho, Weinberger, and Kernighan, awk is more than just a command - it's a complete programming language designed for processing and analyzing text files.

  • Linux Commands - Overview and Examples

    Linux Commands - Overview and Examples

    Author: Tags: , Comments: 13Updated: Mar 04, 2024

    The command line is one of the most powerful features of Linux. There exists a sea of Linux command line tools, allowing you to do almost everything you can think of doing on your Linux PC. However, this usually creates a problem: with so many commands available to use, you don't know where and how to start learning them, especially when you are beginner.

  • Linux bzcmp, bzdiff, bzmore, bzless, and bzgrep Commands Explained with Examples

    Linux bzcmp, bzdiff, bzmore, bzless, and bzgrep Commands Explained with Examples

    Author: Tags: , Comments: 0Updated: Jul 07, 2023

    While the bzip2 command line utility can be used to compress files, there are many other tools that let you perform basic tasks - like comparing such files - without the need to uncompress them. Here, in this tutorial, we will discuss the basics of bzcmp, bzdiff, bzmore, bzless, and bzgrep commands using some easy to understand examples.

  • Useful Gedit Plugins for Software Developers

    Useful Gedit Plugins for Software Developers

    Author: Tags: , , Comments: 6

    Gedit offers almost all the features expected from a basic text editor, but if that's not enough for some reason, you can add more functionality to it through plugins. This tutorial covers three of the most useful Gedit plugins for programmers.

  • Linux Head Command Explained for Beginners (5 Examples)

    Linux Head Command Explained for Beginners (5 Examples)

    Author: Tags: , Comments: 0

    In this article, we will discuss the basics of the head command using some easy to understand examples. Sometimes, while working on the command line in Linux, you might want to take a quick look at a few initial lines of a file. For example, if a log file is continuously being updated, the requirement could be to view, say, first 10 lines of the log file every time.

  • 10 Linux cat Command Examples for Beginners

    10 Linux cat Command Examples for Beginners

    Author: Tags: Comments: 1

    If you a regular Linux command line user, I am sure you must have used the cat command. The tool is mostly used for displaying contents of a file, although it provides many other small but useful features. In this article, we will discuss the cat command in detail, explaining some of its key features.

  • How to Debug C Programs in Linux using gdb

    How to Debug C Programs in Linux using gdb

    Author: Tags: , Comments: 1

    If you are a C/C++ programmer or develop software using the Fortran and Modula-2 programming languages, you'll be glad to know there exists an excellent debugger - dubbed GDB - that lets you easily debug your code for bugs and other problems. In this article, we will discuss the basics of GDB, including some of the useful features/options it provides.

  • How to Open Files in Default Desktop Application from Command-Line on Ubuntu

    How to Open Files in Default Desktop Application from Command-Line on Ubuntu

    Author: Tags: , , Comments: 6

    What do you do when you want to open a PDF file in Ubuntu? Simple, double click on the PDF file icon, or right-click and select the "Open with Document Viewer" option. But what if you're asked to do the same task through the command line? Do you know the command line utility that will do the job for you? However, you'll be glad to know that there's way through which you can launch Evince for a PDF file, even if you don't know the fact that a command line utility of that name exists, and that's what we'll be discussing in this article.

  • How to use the fuser command in Linux

    How to use the fuser command in Linux

    Author: Tags: , Comments: 2

    Suppose you are given a task to identify the processes that are using a particular file, and then kill them one by one - all this has to be done from the command line. What would you do? Well, if you are a command line newbie, I am sure you'd be clueless, asking around for help. But command line pros will likely have an idea that there exists a command line utility in Linux that lets you identify processes based on the files (or directories, or sockets) they are accessing. Not only that, the tool also allows you to kill these processes, so you don't have to use the kill or killall commands separately. The command line utility we're talking about is fuser.

  • Linux md5sum Command Tutorial for Beginners (5 Examples)

    Linux md5sum Command Tutorial for Beginners (5 Examples)

    Author: Tags: , Comments: 1

    While we have already discussed the cksum command line utility, there's another tool that you can use in scenarios where, say, you need to verify the integrity of files during transfers. The tool we're talking about here is md5sum. In this tutorial, we will discuss the basics of this command using some easy to understand examples.